package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.entity.Permission;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface PermissionMapper extends BaseMapper<com.example.demo.entity.Permission> {

    @Select("select * from permission where id = #{permissionId} ")
    com.example.demo.entity.Permission selectPermissionById(Integer permissionId);

}
